package initialization

import (
	"fmt"

	"github.com/go-redis/redis/v8"

	"2106a-zg5/demo/order/order_srv/global"
)

func init() {
	global.RDB = redis.NewClient(&redis.Options{
		Addr: global.OrderConfig.Redis,
		DB:   1,
	})
	fmt.Println("Redis client success98+5")
}
